<!-- 所有待审核管理员账号信息 -->
<div class="select_courses">
	<p class="can_selecte_courses_show">所有待审核管理员账号信息</p>
	<?php 
		$superManagerController = new SuperManagerController();
		$showAllCanAllowManagersInfo = $superManagerController->showAllCanAllowManagers();
		/* echo "##########";
		var_dump($showAllCanAllowManagersInfo);
		die("死了"); */
		?>
	<div class="table_show">
		<table class="can_select_courses_show_table">
			<tr>
				<th>序号</th><th>管理员账号</th><th>性别</th><th>权限</th><th>相关操作</th>
			</tr>
			<?php if(!empty($showAllCanAllowManagersInfo)){
				//echo "%%%%%";
				$count = 1;
				foreach ($showAllCanAllowManagersInfo as $row){
				?>
			<tr>
				<td><?php echo "$count"; $count++?></td>
				<td><?php echo $row['manager_account']?></td>
				<td><?php 
						if($row['manager_sex'] === 'M')
							{echo "男";} else {echo "女";};?></td>
				<td>无</td>
				<td>
					<?php $path = "<a href="."../../controller/SuperManagerController.class.php?operation=canallow&object=manager&courseOrStudentId=".$row['manager_account'].">通过</a>"?>
					<?php echo $path?>
				</td>
			</tr>
			<?php 
					}
				}else {
				?>
			<tr><td class="table_empty_show" colspan="6">暂无待审核信息!</td></tr>
			<?php }?>
		</table>
	</div>
</div>